package io.ooad.banking.dd.domain;

import javax.persistence.DiscriminatorValue;
import javax.persistence.Entity;
import java.util.Date;

/**
 * 取款
 * Created by yyang on 16/9/16.
 */
@Entity
@DiscriminatorValue("W")
public class WithdrawTransaction extends AccountTransaction {

    WithdrawTransaction() {
    }

    public WithdrawTransaction(BankAccount account, Money amount, Date date) {
        super(account, amount, date);
    }
}
